export interface DatabaseConfig {
  name: string;
  host: string;
  port: number;
  username: string;
  password: string;
  force?: boolean;
  logging?: boolean;
}

export interface SecurityConfig {
  secretKey: string;
  expiresIn: number;
}

export interface WxConfig {
  appID: string;
  appSecret: string;
  loginUrl: string;
}

export interface CorsConfig {
  origin: string;
}

export interface LogConfig {
  level: string;
}

export interface ConfigType {
  environment: string;
  port: number;
  database: DatabaseConfig;
  security: SecurityConfig;
  wx: WxConfig;
  cors: CorsConfig;
  log: LogConfig;
  timezone: string;
  apiPrefix: string;
} 